package work20241205.a_duotai;

/**
 * @author zdl
 * @date 2024/12/5
 */
public class Demo {
    public static void main(String[] args) {
        Person p1 = new Person();
        p1.feed(new Dog());
        p1.feed(new Cat());
    }
}
